package org.jeecg.modules.yc.web.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.apache.shiro.SecurityUtils;
import org.jeecg.common.system.vo.LoginUser;
import org.jeecg.modules.yc.web.entity.YcAlarmReport;
import org.jeecg.modules.yc.web.entity.vo.RecordCount;
import org.jeecg.modules.yc.web.mapper.YcAlarmReportMapper;
import org.jeecg.modules.yc.web.service.IYcAlarmReportService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description: 报警记录
 * @Author: jeecg-boot
 * @Date:   2025-02-17
 * @Version: V1.0
 */
@Service
public class YcAlarmReportServiceImpl extends ServiceImpl<YcAlarmReportMapper, YcAlarmReport> implements IYcAlarmReportService {

    @Autowired
    YcAlarmReportMapper ycAlarmReportMapper;

    @Override
    public List<RecordCount> recordCountWithTime(String orgcode) {
        return ycAlarmReportMapper.recordCountWithTime(orgcode);
    }
}
